home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
simcode.arc
/
SIMTERM.INC
< prev
next >
Wrap
Text File
|
1983-06-03
|
1KB
|
38 lines
{$list-}
const
NULLB = #700;
BOTTOM = 23; {bottom line of screen}
TOP = 0; {top line on screen}
RIGHT_MAR = 79; {screen limits}
LEFT_MAR = 0;
END_KEY = 79; {"End" key}
INSERT_KEY = 82; {xmit line}
C_UP = 72; {cursor UP}
C_DOWN = 80; {cursor DOWN}
C_LEFT = 75; {cursor LEFT}
C_RIGHT = 77; {cursor RIGHT}
PG_UP = 73; {Page UP}
PG_DOWN = 81; {Page DOWN}
NULL_CHAR = 3; {^@ - send 'null'}
CNTL_END = 117; {toggle the LOG BOTTOM}
NL = chr(10); {new line}
DELETE_KEY = 83; {clear screen from cursor}
F9 = 67; {function key F9 -- ^S}
F10 = 68; {function key f10 -- ^Q}
XON_CHAR = chr(17); {^Q}
XOFF_CHAR = chr(19); {^S}
MAX_LINES = 100; {# of saved lines}
LINE_SIZE = 160; {# of chars on display line}
type
CRT_SIZE = TOP..BOTTOM+1;
INC_LIMIT = -1..1;
SCREEN_SAVE = array[1..MAX_LINES] of string(LINE_SIZE);
screen_buf = array[1..80] of
record
d_char : byte;
d_attr : byte;
end;
LOOP_FLAG = (HANG,EXIT);
PRT_ATTR = (PRT_NORMAL,PRT_UNDERLINE,PRT_SUPER,PRT_SUB,PRT_BOLD);
{$list+}